<%@ page language="java" contentType="text/html; charset=ISO-8859-1" import = "isg3.domain.*, java.util.*"
    pageEncoding="ISO-8859-1"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>

<head>
  <title>Fomento de la lectura</title>
	<link rel="stylesheet" type="text/css" href="style/style.css" />
</head>
<body>
<div id="container">

<div id="content">
	
		<jsp:include page="/login.html"/>
 		 <fieldset>
 		 	
		<table summary="Lista de concursos" align="center">
		
		
		
		 <%List concu = Tablon.getInstance().getConcursos(); 
		Iterator it = concu.iterator();%>
		<tr><td>Lista de Concursos:<br><br></td>
		<%while(it.hasNext()){
		Concurso c= (Concurso)it.next();
		if(c.getEstado().equals("activo")){ %>
		  <td>
		<%=c.getTitulo()%> <a href="login.html"/> Inscripcion </a> </td>
	
					<%} %>
				<%} %>
			</tr>
		 </table>		 
 		 </fieldset>
		 </div> <!--cierra arribaDcha -->

		 

</div> <!-- cierra content -->


</body>
</html>
